<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title> 气度网 农业信息发布平台</title>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link type="text/css" rel="stylesheet" href="${ctx}/css/news_subSort.css" >
</head>
<body>
<div id="container">
	<!-- 头部 -->
	<%@ include file="header.jsp"%>
	<%@ include file="news_header.jsp"%>
	<!-- 内容 -->    
    <div id="body">
    	<div class="left">
    	<!-- 标题 -->
    		<div class="left_title">
        		<li class="side1">&nbsp;</li>
            	<li class="side2">&nbsp;&nbsp;&nbsp;<s:property value='sort.typeName' /></li>
            	<li class="side3">&nbsp;</li>
        	</div>
        	<div class="clear"></div>
        	<div class="left_container">
        	<!-- 主要新闻-->
            	<ul class="newsList">
            	<s:iterator value="newsListBySort.objList" var="newsList" status="count">
                	<li><a href="${ctx}/news/queryById?id=<s:property value='#newsList.id'/>"><s:property value="#newsList.title" />&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="#newsList.createDate" /></a></li>
                </s:iterator>	
                </ul>
                <div class="newsList"><p><s:property value="%{newsListBySort.pagebar}"  escape="false" /></p></div>
        	</div>
    	</div>
    	<div class="right">
			<div class="right_title">
        		<li class="side1">&nbsp;</li>
            	<li class="side2">&nbsp;&nbsp;&nbsp;地方农业新闻</li>
            	<li class="side3">&nbsp;</li>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
                	<s:iterator value="sortList_pv" var="sort_pv" status="count">
						<s:if test="#count.index%5 == 0 || #count.first"><li></s:if>
							<a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=<s:property value='#sort_pv.typeCode' />"><s:property value="#sort_pv.typeName" />&nbsp;</a>
					    <s:if test="#count.index%5 == 4 || #count.last"></li></s:if>
					</s:iterator>                                     
            	</div>
                <div class="more"><a href="#">更多</a></div>
            </div>
            <div class="clear"></div>
			<div class="right_title">
        		<li class="side1">&nbsp;</li>
            	<li class="side2">&nbsp;&nbsp;&nbsp;相关链接</li>
            	<li class="side3">&nbsp;</li>
        	</div>
        	<div class="clear"></div>
            <div class="right_container">
            	<p></p>
                <div class="news_title">
                	<s:iterator value="sortList_pv" var="sort_pv" status="count">
						<s:if test="#count.index%5 == 0 || #count.first"><li></s:if>
							<a href="${ctx}/news/listBySortByPage?pageNum=1&sort.typeCode=<s:property value='#sort_pv.typeCode' />"><s:property value="#sort_pv.typeName" />&nbsp;</a>
					    <s:if test="#count.index%5 == 4 || #count.last"></li></s:if>
					</s:iterator>    	                                 
              	</div>
                <div class="more"><a href="#">更多</a></div>
            </div>
            <div class="clear"></div>            
            <div>
				<a href="#"><img src="${ctx}/image/ad/ad_001.gif" alt="广告"></a>
            </div>
            <div class="clear"></div>               
      </div>
    </div>
    <div class="clear"></div> 
    <!-- 尾部 -->
	<%@ include file="tail.jsp"%>
</div>   
</body>
</html>
